(noninteractive): Don't load generic-sc on MS-DOS
authorEli Zaretskii <eliz@gnu.org>
Sat, 6 Jan 2001 21:43:25 +0000 (21:43 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 6 Jan 2001 21:43:25 +0000 (21:43 +0000)
systems without long file-name support.

lisp/ediff-vers.el

index 49eeb31eaf52935c42b06c172ad0eb5a2320a072..71ac8bb7afe69c6c6ef2a826bc0fcdca682a8551 100644 (file)
      (eval-when-compile
        (load "pcl-cvs" 'noerror)
        (load "rcs" 'noerror)
-       (load "generic-sc" 'noerror)
+       ;; On 8+3 MS-DOS filesystems, generic-x.el is loaded
+       ;; instead of (the missing) generic-sc.el.  Since the
+       ;; version of Emacs which supports MS-DOS doesn't have
+       ;; generic-sc, we simply avoid loading it.
+       (or (and (fboundp 'msdos-long-file-names)
+               (not (msdos-long-file-names)))
+          (load "generic-sc" 'noerror))
        (load "vc" 'noerror)))
 ;; end pacifier